package kgc.crm.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 商机状态
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "kgc_crm_crm_business_status")
public class BusinessStatus {
    @TableId(value = "status_id", type = IdType.AUTO)
    private Integer statusId;

    /**
     * 商机状态类别ID
     */
    @TableField(value = "type_id")
    private Integer typeId;

    /**
     * 标识
     */
    @TableField(value = "name")
    private String name;

    /**
     * 赢单率
     */
    @TableField(value = "rate")
    private String rate;

    /**
     * 排序
     */
    @TableField(value = "order_num")
    private Integer orderNum;

    public static final String COL_STATUS_ID = "status_id";

    public static final String COL_TYPE_ID = "type_id";

    public static final String COL_NAME = "name";

    public static final String COL_RATE = "rate";

    public static final String COL_ORDER_NUM = "order_num";
}